object = main.o streamdata.o
main: $(object)
	gcc -o main $(object)
%.o : %.c
	gcc -g -c $<

clean:
	rm *.o
	rm main
